package com.learn.boot.controller;

import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:    java类作用描述
 * @author:         MI
 * @email:          448341911@qq.com
 * @createDate:     2023/11/12 19:43
 * @updateUser:     MI
 * @updateDate:     2023/11/12 19:43
 * @updateRemark:   修改内容
 * @version:        v1.0
 */
@RestController
@RequestMapping("/user")
public class LoginController {

    @GetMapping("/edit")
    public String edit(ModelMap map) {
        return "editUser";
    }

    @GetMapping(value = "/login")
    public String login(ModelMap map) {
        return "您还没有登录，请先登录！login";
    }

}
